Push
kPushTransitionType ('push')
In a push effect, one source image replaces another with both images moving at the same time. For example, source A would typically occupy the entire frame, then source B would push in from the right while source A slides out to the left, as if source B were pushing source A out of the frame. Unlike the slide effect, both sources are moving. The push effect executes from one of four fixed directions: top, right, bottom, or left.
The push effect takes a maximum of two sources and has two parameters.
Parameters
Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see
"Adding Video Effects to a QuickTime Movie"
Name
|
Code
|
QTAtom Type
|
Description
|
Percentage
|
'pcnt'
|
kParameterTypeDataFixed
Always a tween
|
This parameter contains a tween. As the effect progresses, QuickTime renders the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. For example, if the tween goes from 0 to 100, the effect renders completely; if the tween goes from 25 to 75, rendering begins 25% into the effect and terminates 75% through the effect.
|
From direction
|
'from'
|
kParameterTypeDataEnum
|
Contains one of four directions from which source B will replace source A: top, right, bottom, or left.
|
From Direction Enum
The
`from'
direction parameter can contain the following values:
-
Top
-
Right
-
Bottom
-
Left
© 1999 Apple Computer, Inc.
| Previous | Chapter Contents | Chapter Top | Next |